package com.lc.login.applicationLike;

import com.luojilab.component.componentlib.applicationlike.IApplicationLike;
import com.luojilab.component.componentlib.router.Router;
import com.luojilab.component.componentlib.router.ui.UIRouter;

/**
 * @author LiuChao
 * @describe
 * @date 2018/6/21
 * @contact email:450127106@qq.com
 */
public class LoginApplicationLike implements IApplicationLike {
    Router router = Router.getInstance();
    UIRouter uiRouter = UIRouter.getInstance();

    @Override
    public void onCreate() {
        uiRouter.registerUI("login");
    }

    @Override
    public void onStop() {
        uiRouter.unregisterUI("login");
    }
}
